package com.guit.hrms.dto.recuitmentDTO;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecruitmentDTO {
    @NotBlank(message = "planName不能为空")
    private String planName;
    @NotBlank(message = "planCode不能为空")
    private String planCode;
    @NotNull(message = "planType不能为空")
    private Integer planType;
//    @NotEmpty(message = "depts不能为空")
    @Valid
    private List<ALOfEDNDTO> depts;
//    @NotBlank(message = "recruiterId不能为空")
    private String recruiterId;
//    @NotBlank(message = "recruiterName不能为空")
    private String recruiterName;
//    @NotNull(message = "recruiterPhone不能为空")
    private String recruiterPhone;
//    @NotNull(message = "recruitmentConditions不能为空")
    private String recruitmentConditions;
//    @NotNull(message = "benefitsDescription不能为空")
    private String benefitsDescription;
    @NotNull(message = "startDate不能为空")
    private Date startDate;
    @NotNull(message = "endDate不能为空")
    private Date endDate;
    @NotNull(message = "publishDate不能为空")
    private Date publishDate;
//    @NotNull(message = "interviewProcess不能为空")
    private String interviewProcess;
    @NotNull(message = "approveStatus不能为空")
    private Short approveStatus;
    private String approverId;
//    @NotNull(message = "notes不能为空")
    private String notes;

    private String content;
}
